<?php $this->assign("title", "Editar Horario"); ?>
<h2>Editar horario</h2>
<?php
	$selected = explode("-", $diasSeleccionados);
	echo $this->Form->create('Horario');
	echo $this->Form->input('nombre_horario',array('style' => 'width:' .'380px'));
	echo $this->Form->input('dias_aplica', array('type'=>'select','multiple'=>'checkbox','selected'=>$selected,'options'=>array('L'=>'Lunes','M'=>'Martes','W'=>'Miercoles','J'=>'Jueves','V'=>'Viernes','S'=>'Sabado')));
	echo $this->Form->input('estado_horario',array('type'=>'select','options'=>array('activo'=>'activo','inactivo'=>'inactivo')));
	echo $this->Form->input('hora_salida', array('timeFormat'=>'12'));
	echo $this->Form->input('hora_estimada_llegada', array('timeFormat'=>'12'));
	echo $this->Form->input('id_horario', array('type' => 'hidden'));
	echo $this->Form->input('fecha_creacion_horario', array('type' => 'hidden'));
	echo $this->Form->end('Editar Horario');
?>